Use po/LINGUAS
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 2 Aug 2008 04:23:13 +0000 (04:23 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 2 Aug 2008 04:23:13 +0000 (04:23 +0000)
svn path=/trunk/; revision=20930

ChangeLog
configure.in
po/LINGUAS [new file with mode: 0644]
po/Makefile.in.in

index 552add2bf00c6d4307b9f6b34e95e3f72fbcfba4..2e4f505c8855cc3d9df49a50ca6fedc469075f82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-08-02  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 344383 – use po/LINGUAS
+
+       * po/LINGUAS: New file, to make translators happy.
+       * configure.in: Use po/LINGUAS
+       * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
+       Patch by Claude Paroz
+
 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
 
        * gdk/gdkapplaunchcontext.c: Improve the docs
index bf98c8725ece0a9ac05cec49f98b4c6e43cc9bc1..f069aec4f37820e5761d10939ad56e6a6d249b78 100644 (file)
@@ -484,12 +484,7 @@ if test "$gtk_ok" = "yes"; then
 fi
 
 # i18n stuff
-# TRANSLATORS:  Please note that gtk+ has both po/ and po-properties/
-# directories.  If you add a new language to ALL_LINGUAS, please make
-# sure that both po/ and po-properties/ have .po files that correspond
-# to your language.  If you only add one to po/, the build will break
-# in po-properties/.
-ALL_LINGUAS="af am ang ar as az az_IR be be@latin bg bn bn_IN br bs ca ca@valencia cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy ia id io is it ja ka kn ko ku li lt lv mi mk ml mn mr ms nb ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@Latn sr@ije sv ta te th tk tr tt uk ur uz uz@cyrillic vi wa xh yi zh_CN zh_HK zh_TW"
+ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
 AM_GLIB_GNU_GETTEXT
 LIBS="$LIBS $INTLLIBS"
 AC_OUTPUT_COMMANDS([case "$CONFIG_FILES" in *po-properties/Makefile.in*)
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644 (file)
index 0000000..50e2e4d
--- /dev/null
@@ -0,0 +1,104 @@
+# TRANSLATORS:  Please note that gtk+ has both po/ and po-properties/
+# directories.  If you add a new language in this file, please make
+# sure that both po/ and po-properties/ have .po files that correspond
+# to your language.  If you only add one to po/, the build will break
+# in po-properties/.
+# Please keep this list sorted alphabetically.
+#
+af
+am
+ang
+ar
+as
+az
+az_IR
+be
+be@latin
+bg
+bn
+bn_IN
+br
+bs
+ca
+ca@valencia
+cs
+cy
+da
+de
+dz
+el
+en_CA
+en_GB
+eo
+es
+et
+eu
+fa
+fi
+fr
+ga
+gl
+gu
+he
+hi
+hr
+hu
+hy
+ia
+id
+io
+is
+it
+ja
+ka
+kn
+ko
+ku
+li
+lt
+lv
+mi
+mk
+ml
+mn
+mr
+ms
+nb
+ne
+nl
+nn
+nso
+oc
+or
+pa
+pl
+ps
+pt
+pt_BR
+ro
+ru
+rw
+si
+sk
+sl
+sq
+sr
+sr@Latn
+sr@ije
+sv
+ta
+te
+th
+tk
+tr
+tt
+uk
+ur
+uz
+uz@cyrillic
+vi
+wa
+xh
+yi
+zh_CN
+zh_HK
index 7c9131e729d37fa9225950307e0b17b2570334c4..4bae8f38f5f0cce98d6168471b293b1d2ba4a474 100644 (file)
@@ -54,7 +54,7 @@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
 SOURCES = 
 POFILES = @POFILES@
 GMOFILES = @GMOFILES@
-DISTFILES = ChangeLog Makefile.in.in POTFILES.in POTFILES.skip $(GETTEXT_PACKAGE).pot \
+DISTFILES = LINGUAS ChangeLog Makefile.in.in POTFILES.in POTFILES.skip $(GETTEXT_PACKAGE).pot \
 $(POFILES) $(GMOFILES) $(SOURCES)
 
 POTFILES = \